package org.jsola.hr.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jsola.core.entity.BaseDeleteDO;
import org.jsola.core.entity.Key;

import javax.persistence.Table;

/**
 * @author zhr
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Table(name = "hr_attend_punch_time")
@Key(UUID = true)
public class AttendPunchTimeDO extends BaseDeleteDO<String> {

    private static final long serialVersionUID = 1L;

    /**
     * 考勤方案ID
     */
    private String attendPlanId;
    /**
     * 工作周JSON
     */
    private String workWeekJson;
    /**
     * 打卡时段JSON
     */
    private String periodJson;
    /**
     * 是否高级设置
     */
    private Boolean isAdvanc;
    /**
     * 允许迟到早退 ; 1-允许,0-不允许
     */
    private Integer isAllowedLateEarly;
    /**
     * 上班允许迟到(分钟)
     */
    private Integer lateMinute;
    /**
     * 下班允许早退(分钟)
     */
    private Integer earlyMinute;
    /**
     * 允许晚走晚到 ; 1-允许,0-不允许
     */
    private Integer isAllowLateLate;
    /**
     * 下班晚走(分钟)
     */
    private Integer offWorkLateMinute;
    /**
     * 上班晚到(分钟)
     */
    private Integer onWorkLateMinute;
    /**
     * 最早上班打卡时间
     */
    private String earliestPunchTime;
    /**
     * 最晚上班打卡时间
     */
    private String latestOnPunchTime;
    /**
     * 最早下班打卡时间
     */
    private String earliestOffPunchTime;
    /**
     * 最晚下班打卡时间
     */
    private String latestPunchTime;
    /**
     * 下班是否需要打卡 ; 1-是,0-否
     */
    private Integer afterWorkNeedPunch;
    /**
     * 公司id
     */
    private String companyId;



}

